//
//  PKIMUtils.swift
//  Panku
//
//  Created by mac on 2017/2/9.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

protocol PKIMUtilsInterface {
    
    //注册
    func register(With name:String,password:String) -> NSError?
    
    //登录
    func login(With name:String,password:String) -> NSError?
    
    //自动登录
    func setIsAutoLogin(auto:Bool) -> Void
    
    //退出登录
    func logout() -> Void

}

class PKIMUtils: NSObject,PKIMUtilsInterface {
    
    func register(With name: String, password: String) -> NSError? {return NSError()}
    func login(With name:String,password:String) -> NSError?{return NSError()}
    func setIsAutoLogin(auto:Bool) -> Void{}
    func logout() -> Void{}
  
}
